package com.ricchieri.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.Table;
import javax.persistence.InheritanceType;

@Entity
@Inheritance(strategy=InheritanceType.JOINED)
@Table(name="templateshedule")
public class TemplateShedule extends BaseEntity {

	private static final long serialVersionUID = -4219276663774789910L;

	@Column(name="day", nullable=false, length=15)	
	private String day;
	
	@Column(name="hour", nullable=false, length=5)	
	private String hour;
	
	public String getDay() {
		return day;
	}
	
	public void setDay(String day) {
		this.day = day;
	}
	
	public String getHour() {
		return hour;
	}
	
	public void setHour(String hour) {
		this.hour = hour;
	}
}